home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global TRIAL, game1level, animlist, numberbugs, backframe3
- set snumber to the clickOn - 37
- set backframe3 to the frame
- play frame string(snumber)
- if game1level > 1 then
- go(backframe3)
- puppetSprite(37 + snumber, 1)
- set the castNum of sprite (37 + snumber) to the number of cast string(snumber)
- updateStage()
- end if
- if game1level = 1 then
- go(line snumber of animlist)
- else
- if game1level = 2 then
- if snumber = numberbugs then
- go(line snumber of animlist)
- else
- set TRIAL to TRIAL + 1
- play frame "wrong2" & TRIAL
- if TRIAL > 2 then
- play frame string(numberbugs)
- end if
- go(backframe3)
- if TRIAL = 4 then
- repeat with xxx = 37 to 47
- puppetSprite(xxx, 1)
- end repeat
- highlight()
- go(line numberbugs of animlist)
- end if
- end if
- end if
- end if
- end
-